//引入模板的全局的样式
import '@/styles/index.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import gloalComponent from '@/components'


//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
//安装自定义插件
app.use(gloalComponent)

// console.log(import.meta.env);

app.mount('#app')
